package models

import "gorm.io/gorm"

type Job struct {
	gorm.Model
	UserId      int64   `gorm:"type:int;not null"`
	JobName     string  `gorm:"type:varchar(20);not null"`
	JobClass    string  `gorm:"type:varchar(20);not null"`
	WorkAddress string  `gorm:"type:varchar(200);not null"`
	JobTips     string  `gorm:"type:varchar(20)"`
	LowPrice    float32 `gorm:"type:float;not null"`
	TopPrice    float32 `gorm:"type:float;not null"`
	WorkTIme    int64   `gorm:"type:int;not null"`
	DegRee      string  `gorm:"type:enum('高中或以下','专科','本科','研究生','硕士','博士');not null"`
	JobDes      string  `gorm:"type:varchar(500);not null"`
}
